#ifndef STATUSWINDOW_H
#define STATUSWINDOW_H
#include "window.h"
#include <vector>

namespace win
{
	typedef std::vector<int> int_array;
	class StatusWindow : public ChildWindow
	{
		protected:
	  		int _bar_height;
		public:
			StatusWindow();
			void Create(Window &parent, const int child_index);
			void AdjustLayout();
			~StatusWindow();
	  		int GetHeight() const
			    { return _bar_height; }
			void SetParts(const int_array& widths);
			void SetPartText(short part_index,const char * text);
	};
}
#endif // STATUSWINDOW_H

